#ifndef PLANT_H
#define PLANT_H
#include<QString>

class plant
{
public:
    int row;
    int col;
    int x;
    int y;
    int life;
    int init_life;
    int attack;
    QString name;
    //辅助型植物
    int effect_time=500;   //生效时间
    int effect_pre=0;
    int freeze_time=4000;   //寒冰菇专属--冰冻时间
public:
    plant();
};

#endif // PLANT_H
